package com.neuedu.springmvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class UserController {


    /**
     *  http://127.0.0.1:8080/springmvc09//getUser/11
     * @param id
     * @return
     */
    @RequestMapping("/getUser/{id}")
    public String getUser(@PathVariable("id") Integer id){
        System.out.println("id = " + id);
        return "";
    }



}
